<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecm_partner`;");
E_C("CREATE TABLE `ecm_partner` (
  `partner_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `store_id` int(10) unsigned NOT NULL DEFAULT '0',
  `title` varchar(100) NOT NULL DEFAULT '',
  `link` varchar(255) NOT NULL DEFAULT '',
  `logo` varchar(255) DEFAULT NULL,
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '255',
  PRIMARY KEY (`partner_id`),
  KEY `store_id` (`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8");
E_D("replace into `ecm_partner` values('2','2','ECMall','http://ecmall.shopex.cn',NULL,'1');");
E_D("replace into `ecm_partner` values('3','2','ECShop','http://www.ecshop.com',NULL,'2');");
E_D("replace into `ecm_partner` values('4','0','上海商派','http://www.shopex.cn','data/files/mall/partner/4.png','1');");
E_D("replace into `ecm_partner` values('5','0','支付宝','http://www.alipay.com','data/files/mall/partner/5.gif','2');");
E_D("replace into `ecm_partner` values('6','0','财付通','http://www.tenpay.com','data/files/mall/partner/6.PNG','3');");
E_D("replace into `ecm_partner` values('7','8','新浪尚品','http://style.sina.com.cn/','data/files/store_8/partner/7.png','1');");

require("../../inc/footer.php");
?>